/*
 * File:   IPart.h
 * Author: Elevator
 *
 * Created on 19 Май 2013 г., 22:15
 */

#ifndef IPART_H
#define IPART_H

#include <string>
#include "Command.h"
#include "Logic/IEntity.h"

class IPart : public IEntity
{
public:
	virtual ~IPart( ) {}

	virtual void ProcessCommand( const Command& command ) = 0;
};

inline bool operator ==(const IPart& a, const IPart& b )
{
	return a.GetId( ) == b.GetId( );
}

#endif	/* IPART_H */
